package com.example.unisys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * menu_table
 * @author 
 */
@ToString
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("menu_table")
public class Menu implements Serializable {
    /**
     * 菜单/按钮ID
     */
    @TableId("menu_id")
    private Long menu_id;

    /**
     * 上级菜单ID
     */
    private Long parent_id;

    /**
     * 菜单/按钮名称
     */
    private String menu_name;

    /**
     * 对应路由path
     */
    private String path;

    /**
     * 对应路由组件component
     */
    private String component;

    /**
     * 权限标识
     */
    private String perms;

    /**
     * 类型 0菜单 1按钮
     */
    private String type;

    /**
     * 排序
     */
    private Double order_num;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 修改时间
     */
    private Date modify_time;

    private static final long serialVersionUID = 1L;
}